package com.example.tourpal.model;

import java.io.Serializable;

public class PrivateMessage implements Serializable {
	private static final long serialVersionUID = 1L;
	private String content;
	private String createTime;
	private int fromUserId;
	private int id;
	private String receiver;
	private String sender;
	private int status;
	private int toUserId;

	public PrivateMessage() {
	}

	public PrivateMessage(String content, String createTime, int fromUserId, int id,
			String receiver, String sender, int status, int toUserId) {
		super();
		this.content = content;
		this.createTime = createTime;
		this.fromUserId = fromUserId;
		this.id = id;
		this.receiver = receiver;
		this.sender = sender;
		this.status = status;
		this.toUserId = toUserId;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public int getFromUserId() {
		return fromUserId;
	}

	public void setFromUserId(int fromUserId) {
		this.fromUserId = fromUserId;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getReceiver() {
		return receiver;
	}

	public void setReceiver(String receiver) {
		this.receiver = receiver;
	}

	public String getSender() {
		return sender;
	}

	public void setSender(String sender) {
		this.sender = sender;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public int getToUserId() {
		return toUserId;
	}

	public void setToUserId(int toUserId) {
		this.toUserId = toUserId;
	}

	@Override
	public String toString() {
		return "Message [content=" + content + ", createTime=" + createTime
				+ ", fromUserId=" + fromUserId + ", id=" + id + ", receiver="
				+ receiver + ", sender=" + sender + ", status=" + status
				+ ", toUserId=" + toUserId + "]";
	}

}
